package br.mikhas.container.factory;

public class PrototypeScope extends AbstractScope {

	public final static String PROTOTYPE_SCOPE = "prototype";

	public PrototypeScope() {
		super(PROTOTYPE_SCOPE);
	}

	@Override
	public void addResource(String name, Object resource) {
		// Do nothing
	}

	@Override
	public String getName() {
		return PROTOTYPE_SCOPE;
	}

	@Override
	public Object getResource(String name) {
		// Never return an resource
		return null;
	}

	@Override
	public void removeResource(String name) {
		// No reources to be removed
	}

}
